package com.xbq.oauth.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.xbq.oauth.model.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MemberMapper extends BaseMapper<Member> {

    Member selectMemberByUsername(String username);

    Member selectMemberByUsernameAndPassword(@Param("username") String username, @Param("password") String password);

}
